﻿using System;


namespace Bll
{
    public class ObjectBlo
    {
        public static System.Data.DataTable getMenu(string rol) {
            return Dal.ObjectDao.getMenu(rol);
        }
        
        public static System.Data.DataTable getMenuTabs()
        {
            return Dal.ObjectDao.getObjectsbyKind("TAB");
        }

        public static System.Data.DataTable getMenuGroups()
        {
            return Dal.ObjectDao.getObjectsbyKind("GROUP");
        }

        public static System.Data.DataTable getMenuTools()
        {
            return Dal.ObjectDao.getObjectsbyKind("TOOL");
        }

        public static System.Data.DataTable getEnvironments()
        {
            return Dal.ObjectDao.getObjectsbyKind("Environment");
        }
    }
}